import pandas as pd
from sqlalchemy import create_engine

engine= create_engine('sqlite:///news.db')
# frame = pd.read_sql('news_info', engine)

sql = "select keywords from news_info where username='徐惠彬'"

frame = pd.read_sql(sql,engine)


print(frame)


